package org.example.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.example.entity.ThirdDeduct;

/**
 * <p>
 * 第三方划扣表 Mapper 接口
 * </p>
 *
 * @author libo
 * @since 2023-11-15
 */
public interface ThirdDeductMapper extends BaseMapper<ThirdDeduct> {
    List<ThirdDeduct> getBySharding(@Param("shardIndex") int shardIndex,
            @Param("shardTotal") int shardTotal, @Param("channels") String[] channels,
            @Param("types") List<Integer> types, @Param("deductStates") List<Integer> deductStates,
            @Param("startTime") Date startTime,@Param("endTime") Date endTime);
}
